package com.gedeshidai.shumadevelop.model.enums;

/**
 * 店小二操作的状态枚举
 */
public enum ProductOwnerStateEnum {
    EDITED(1, "已编辑"),
    SUBMITTED_CHECK(2,"已提交审核");

    /**
     * 状态码
     */
    private final int code;

    /**
     * 信息
     */
    private final String message;

    ProductOwnerStateEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}